package com.lanou.service.impl;


import com.lanou.bean.ReclamationOrder;
import com.lanou.mapper.ReclamationOrderMapper;
import com.lanou.service.ReclamationOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ReclamationOrderServiceImpl implements ReclamationOrderService{

    @Autowired
    private ReclamationOrderMapper reclamationOrderMapper;

    @Override
    public int insertSelective(ReclamationOrder record) {
        return reclamationOrderMapper.insertSelective(record);
    }

    @Override
    public List<ReclamationOrder> getRecOrdList() {
        return reclamationOrderMapper.getRecOrdList();
    }

    @Override
    public int cancelOrder(ReclamationOrder reclamationOrder) {
        System.out.println("servcie----");
        return reclamationOrderMapper.cancelOrder(reclamationOrder);
    }
}
